import os

cwd = os.path.dirname(__file__)
if not os.path.exists(f"{cwd}/data/"):
    os.mkdir(f"{cwd}/data/")

URL = 'http://img.nsmc.org.cn/CLOUDIMAGE/FY4B/AGRI/GCLR/FY4B_DISK_GCLR.JPG'
SRC_PATH = f"{cwd}/data/FY4B_DISK_GCLR.JPG"
SRC_MASK_PATH = f"{cwd}/data/FY4B_DISK_GCLR_MASK.png"
CACHE_PATH = f"{cwd}/data/cache.json"
LOG_PATH = f"{cwd}/data/log.log"
TIME_FONT_PATH = f"{cwd}/SpaceCrusadersItalic-ZV1Zx.ttf"
if not os.path.exists(TIME_FONT_PATH):
    print(f"字体文件缺失：\n{TIME_FONT_PATH}")
    TIME_FONT_PATH = "times"
